package Request;

import Container.*;

public class SearchRequest extends Request {
    private String name;
    private int category;
    private int min;
    private int max;
    private boolean isBo;
    
    public SearchRequest(String keyword, int category, int min, int max, boolean isBo) {
        this.name = keyword;
        this.category = category;
        this.min = min;
        this.max = max;
        this.isBo = isBo;
    }
    
    public Criteria getCriteria() {
        return new Criteria(name, category, min, max, isBo);
    }
}